home *** CD-ROM | disk | FTP | other *** search
Makefile | 2002-11-18 | 2.1 KB | 78 lines |
- #
- # $Id$
- #
- # :ts=4
- #
- # AmigaOS wrapper routines for GNU CVS, using the RoadShow TCP/IP API
- #
- # Written and adapted by Olaf `Olsen' Barthel <olsen@sourcery.han.de>
- # Jens Langner <Jens.Langner@light-speed.de>
- #
- # This program is free software; you can redistribute it and/or modify
- # it under the terms of the GNU General Public License as published by
- # the Free Software Foundation; either version 2 of the License, or
- # (at your option) any later version.
- #
- # This program is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # GNU General Public License for more details.
- #
- # You should have received a copy of the GNU General Public License
- # along with this program; if not, write to the Free Software
- # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- #
-
- TARGET = libcvs.a.elf
-
- #
-
- CC = ppc-morphos-gcc
- STRIP = ppc-morphos-strip
- OBJDUMP = ppc-morphos-objdump
- RANLIB = ppc-morphos-ranlib
- AR = ppc-morphos-ar
- RM = rm -f
-
- CPU = -mcpu=604e
- CPUFLAGS = -mmultiple
- WARN = -Wall
- OPTFLAGS = -O2 -fomit-frame-pointer -fstrength-reduce
- DEBUG = -DDEBUG -g3 -O0
- CFLAGS = -noixemul -I./ -I../amiga -I../amiga/netinclude -I../ -I../src -I/gg/ppc-morphos/sys-include -DHAVE_CONFIG_H $(CPU) $(CPUFLAGS) $(WARN) $(OPTFLAGS) $(DEBUG) -c
-
- # CPU and DEBUG can be defined outside, defaults to above
- # using e.g. "make DEBUG= CPU=-mcpu=603e" produces optimized non-debug PPC-603e version
- #
- # OPTFLAGS are disabled by DEBUG normally!
- #
- # ignored warnings are:
- # none - because we want to compile with -Wall all the time
- #
-
- OBJS = argmatch.o.elf getline.o.elf getopt.o.elf getopt1.o.elf md5.o.elf regex.o.elf savecwd.o.elf stripslash.o.elf \
- xgetwd.o.elf yesno.o.elf sighandle.o.elf getdate.o.elf fnmatch.o.elf
-
- #
-
- all: $(TARGET)
-
- #
-
- %.o.elf: %.c
- $(CC) $(CFLAGS) $< -o $@
-
- #
-
- $(TARGET): $(OBJS)
- $(AR) rs $@ $(OBJS)
-
- clean:
- -$(RM) $(TARGET) $(OBJS)
-
- #######################################
-
-
- #######################################
-
-